package com.cy.demo1.entity;

import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;

public class Data implements Serializable {
    private Integer projectId;

    private String projectName;

    private String projectData;

    private MultipartFile projectFile;

    public Integer getProjectId() {
        return projectId;
    }

    public String getProjectName() {
        return projectName;
    }

    public String getProjectData() {
        return projectData;
    }

    public MultipartFile getProjectFile() {
        return projectFile;
    }

    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public void setProjectData(String projectData) {
        this.projectData = projectData;
    }

    public void setProjectFile(MultipartFile projectFile) {
        this.projectFile = projectFile;
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }

    @Override
    public String toString() {
        return "Data{" +
                "projectId=" + projectId +
                ", projectName='" + projectName + '\'' +
                ", projectData='" + projectData + '\'' +
                '}';
    }
}
